package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zcx,ftl,gr,rhs
 * @since 2022-01-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("pawn_resource")
@ApiModel(value="PawnResource对象", description="")
public class PawnResource implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "资源id")
    @TableId(value = "resources_id", type = IdType.AUTO)
    private Integer resourcesId;

    @ApiModelProperty(value = "资源名")
    @TableField("resources_name")
    private String resourcesName;

    @ApiModelProperty(value = "资源地址")
    @TableField("resources_uri")
    private String resourcesUri;

    @ApiModelProperty(value = "权限判断，0所有资源可以访问，1需要按照权限访问")
    @TableField("resources_state")
    private Integer resourcesState;


}
